package com.weichen.studentgameexchange.comment.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-05
 */
@Getter
@Setter
@ToString
@TableName("comment_reply_like")
@Schema(name = "CommentReplyLike对象", description = "")
public class CommentReplyLike implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识一条点赞记录
     */
    @TableId("like_id")
    @Schema(description = "唯一标识一条点赞记录")
    private Long likeId;

    /**
     * 被点赞的回复ID，关联论坛帖子表
     */
    @TableField("reply_id")
    @Schema(description = "被点赞的回复ID，关联论坛帖子表")
    private Long replyId;

    /**
     * 点赞用户的ID，关联用户信息表
     */
    @TableField("user_id")
    @Schema(description = "点赞用户的ID，关联用户信息表")
    private Long userId;

    /**
     * 记录点赞的时间
     */
    @TableField("like_time")
    @Schema(description = "记录点赞的时间")
    private LocalDateTime likeTime;

}
